home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
extra
/
pro13
/
setvect.c
< prev
next >
Wrap
Text File
|
1993-02-01
|
294b
|
20 lines
/*
setvect.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_SETVECT
void setvect (int interruptno, void interrupt (*isr) ())
{
asm push ds
asm mov ah, 25h
asm mov al, interruptno
asm lds dx, isr
asm int 21h
asm pop ds
}